
#import <UIKit/UIKit.h>

@interface ResourceManager : NSObject {
	//NSMapTable	*resourcesTable;
	NSMutableDictionary	*resourcesTable;
}

@property	(readonly) NSMutableDictionary *resourcesTable;

+(ResourceManager*) instance;

-(id)init;
-(void)dealloc;

-(Resource*)loadResource:(Class)resClass name:(NSString*)resName;
-(void)unloadResourceByName:(NSString*)resName;
-(void)unloadResource:(Resource*)res;

@end
